local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1
L0_1 = {}
L0_1.group_id = 133104592
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 592001
L2_1.gadget_id = 70330021
L3_1 = {}
L3_1.x = 813.601
L3_1.y = 253.828
L3_1.z = 957.022
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 19
L2_1.area_id = 6
L3_1 = {}
L3_1.config_id = 592002
L3_1.gadget_id = 70330019
L4_1 = {}
L4_1.x = 827.738
L4_1.y = 247.485
L4_1.z = 970.14
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 359.222
L4_1.y = 32.224
L4_1.z = 25.214
L3_1.rot = L4_1
L3_1.level = 24
L3_1.persistent = true
L3_1.area_id = 6
L4_1 = {}
L4_1.config_id = 592003
L4_1.gadget_id = 70330021
L5_1 = {}
L5_1.x = 781.528
L5_1.y = 254.603
L5_1.z = 986.633
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 10.575
L5_1.y = 0.496
L5_1.z = 5.356
L4_1.rot = L5_1
L4_1.level = 19
L4_1.area_id = 6
L5_1 = {}
L5_1.config_id = 592004
L5_1.gadget_id = 70330021
L6_1 = {}
L6_1.x = 779.018
L6_1.y = 254.136
L6_1.z = 963.253
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 0.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 19
L5_1.area_id = 6
L6_1 = {}
L6_1.config_id = 592005
L6_1.gadget_id = 70330021
L7_1 = {}
L7_1.x = 756.456
L7_1.y = 261.517
L7_1.z = 941.899
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 0.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 19
L6_1.area_id = 6
L7_1 = {}
L7_1.config_id = 592006
L7_1.gadget_id = 70330019
L8_1 = {}
L8_1.x = 824.388
L8_1.y = 247.742
L8_1.z = 979.949
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 356.491
L8_1.y = 20.841
L8_1.z = 1.003
L7_1.rot = L8_1
L7_1.level = 19
L8_1 = GadgetState
L8_1 = L8_1.GearStart
L7_1.state = L8_1
L7_1.persistent = true
L7_1.area_id = 6
L8_1 = {}
L8_1.config_id = 592007
L8_1.gadget_id = 70330021
L9_1 = {}
L9_1.x = 825.15
L9_1.y = 247.802
L9_1.z = 984.124
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 1.459
L9_1.y = 349.48
L9_1.z = 343.79
L8_1.rot = L9_1
L8_1.level = 24
L8_1.area_id = 6
L9_1 = {}
L9_1.config_id = 592008
L9_1.gadget_id = 70330021
L10_1 = {}
L10_1.x = 833.17
L10_1.y = 246.443
L10_1.z = 961.113
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 23.92
L10_1.y = 356.286
L10_1.z = 334.072
L9_1.rot = L10_1
L9_1.level = 24
L9_1.area_id = 6
L10_1 = {}
L10_1.config_id = 592010
L10_1.gadget_id = 70211101
L11_1 = {}
L11_1.x = 826.298
L11_1.y = 247.878
L11_1.z = 975.505
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 19.077
L11_1.y = 72.631
L11_1.z = 0.349
L10_1.rot = L11_1
L10_1.level = 21
L10_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\146\131\230\156\136"
L10_1.showcutscene = true
L10_1.isOneoff = true
L10_1.persistent = true
L11_1 = {}
L11_1.name = "chest"
L11_1.exp = 1
L10_1.explore = L11_1
L10_1.area_id = 6
L11_1 = {}
L11_1.config_id = 592011
L11_1.gadget_id = 70330021
L12_1 = {}
L12_1.x = 790.847
L12_1.y = 256.546
L12_1.z = 996.108
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 344.572
L12_1.y = 353.746
L12_1.z = 355.602
L11_1.rot = L12_1
L11_1.level = 19
L11_1.area_id = 6
L12_1 = {}
L12_1.config_id = 592012
L12_1.gadget_id = 70211101
L13_1 = {}
L13_1.x = 756.416
L13_1.y = 261.517
L13_1.z = 939.402
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 79.793
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 21
L12_1.drop_tag = "\232\167\163\232\176\156\228\189\142\231\186\167\231\146\131\230\156\136"
L12_1.isOneoff = true
L12_1.persistent = true
L13_1 = {}
L13_1.name = "chest"
L13_1.exp = 1
L12_1.explore = L13_1
L12_1.area_id = 6
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1592009
L2_1.name = "GADGET_STATE_CHANGE_592009"
L3_1 = EventType
L3_1 = L3_1.EVENT_GADGET_STATE_CHANGE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_592009"
L2_1.action = "action_EVENT_GADGET_STATE_CHANGE_592009"
L1_1[1] = L2_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 592001
L5_1 = 592002
L6_1 = 592003
L7_1 = 592004
L8_1 = 592005
L9_1 = 592006
L10_1 = 592007
L11_1 = 592008
L12_1 = 592011
L13_1 = 592012
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "GADGET_STATE_CHANGE_592009"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = A1_2.param2
  if 592002 == L2_2 then
    L2_2 = GadgetState
    L2_2 = L2_2.GearStart
    L3_2 = A1_2.param1
    if L2_2 == L3_2 then
      goto lbl_11
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_11::
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_592009 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 592010
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_592009 = L1_1
